60bb8d718dc20858f800323c2a10f59c89965254,src/org/fife/ui/autocomplete/AutoCompleteDescWindow.java,ToolBarForwardAction,actionPerformed,#ActionEvent#,471
Before Change
public void actionPerformed(ActionEvent e) {
if (history!=null && historyPos<history.size()-1) {
descArea.setText((String)history.get(++historyPos));
descArea.setCaretPosition(0);
setActionStates();
}
}
After Change
HistoryEntry pair = (HistoryEntry)history.
get(++historyPos);
descArea.setText(pair.summary);
if (pair.anchor!=null) {
System.out.println("Scrolling to: " + pair.anchor);
descArea.scrollToReference(pair.anchor);
}
else {
descArea.setCaretPosition(0);
}
setActionStates();
}